package com.hnas.core.dao;

import java.util.ArrayList;
import java.util.List;

public class PageBean<T> {
	private List<T> list = new ArrayList<T>();
	private int pageNo;
	private int pageSize;
	private int totalCount=-1;
	private String query;
	private String queryCount;

	public List<T> getList() {
		return list;
	}

	public void setContents(List<T> list) {
		this.list = list;
	}
	public List<T> getContents() {
		return list;
	}
	
	public void setList(List<T> list) {
		this.list = list;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getPage() {
		return pageNo;
	}
	
	public void setPage(int pageNo) {
		this.pageNo = pageNo;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public int getCount() {
		return totalCount;
	}
	
	public void setCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public String getQueryCount() {
		return queryCount;
	}

	public void setQueryCount(String queryCount) {
		this.queryCount = queryCount;
	}
}
